#!/usr/bin/python
# -*- coding: UTF-8 -*-
import json
class Type(object):
    tagType = ''
    def __init__(self, type):
        self.tagType = type

    def getTagType(self):
        return self.tagType

    def toString(self):
        return json.dumps(self.__dict__)

def main():
    pass

    t = Type("xxx")
    print(t.getTagType())
    print(t.toString())

if (__name__ == '__main__'):
    main()